﻿using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Xml.Serialization;
using UIConfigTool.Models.CDS;
using UIConfigTool.ViewModel;

namespace UIConfigTool.Models.PM
{
    public class PMDevice : DeviceNode
    {
        public PMDevice()
        {
            Id = "PM1";
        }
        [XmlArray("InletPipes")]
        [XmlArrayItem("InletPipe")]
        public ObservableCollection<InletPipe> InletPipes { get; set; } = new ObservableCollection<InletPipe>();
    }
}
